package com.wg.net.handle;

import com.wg.net.peer.BaseServerToServerPeer;
import com.wg.net.operations.base.S2SOperationRequest;

/**
 * 处理请求接口
 *
 * @author 少爷123
 */
public interface IHandleS2SRequest {
    /**
     * 执行
     *
     * @param peer    链接
     * @param request 请求
     * @throws Exception 异常
     */
    void execute(BaseServerToServerPeer peer, S2SOperationRequest request) throws Exception;
}
